package com.wangqingbo.myspringboot212.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;

/**
 * 国际化地区配置类
 */
@Configuration
public class MessageBootResolver {
    @Bean
    public LocaleResolver localeResolver()
   {
       return  new MassagesLocalResolver();
   }
}
